<%--
  Created by IntelliJ IDEA.
  User: MI
  Date: 2021/10/15
  Time: 16:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="static/themes/gray/easyui.css">
    <link rel="stylesheet" type="text/css" href="static/themes/icon.css">
    <script type="text/javascript" src="static/jquery.min.js"></script>
    <script type="text/javascript" src="static/jquery.easyui.min.js"></script>
</head>
<body>
    <table id="dg"></table>
    <script>
        $("#dg").datagrid({
            url:"fenye.do",
            columns:[[
                {field:"id",title:"编号",width:100},
                {field:"name",title:"名字",width:100},
                {field:"password",title:"密码",width:100}
            ]],
            fitColumns:true,
            singleSelect:true,
            pagination:true,
            pageList:[2,4,8],
            pageSize:2
        });
    </script>
</body>
</html>
